<?php

namespace app\admin\controller;
use  app\common\controller\DBase;
use  think\facade\Request;
use  app\admin\logic\TrackLogic;
use  app\admin\logic\TestLogic;
use  think\App;

class Taskorder extends DBase
{


    /**
     * @desc 顺丰自发货运单号回传地址
     * @date 2024-04-28
     * @author luckyXiong
     */
    public function sfOrderBack(){
        $info   = $this->request->post();
        return    (new TrackLogic())->sfOrderBack($info);
    }



    /**
     * @desc  定时更新上月的订单状态
     * @date  2024-06-06
     * @author luckyXiong
     */
    public function updateLastMonthStatus(){
        $data   = $this->request->post();
        $res    = (new TestLogic())->updateLastMonthStatus($data);
        return $this->jsonMessage(200, '操作成功',$res);
    }


    public function update_status_consumer(){
        $data   = $this->request->post();
        $res    = (new TestLogic())->update_status_consumer($data);
        return $this->jsonMessage(200, '操作成功',$res);
    }





}